/*
 * @Author: xiaodong 565071984@qq.com
 * @Date: 2022-05-06 21:22:04
 * @LastEditors: xiaodong 565071984@qq.com
 * @LastEditTime: 2022-05-06 21:36:31
 * @FilePath: /小票/src/lang/vantLocal.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import Locale from 'element-ui/lib/locale'
import deLoacl from 'element-ui/lib/locale/lang/de'
import { default as enLocale } from 'element-ui/lib/locale/lang/en'
import zhLocale from 'element-ui/lib/locale/lang/zh-CN'

export function Locals(a) {
  if (a == 'en') {
    Locale.use('en', enLocale)
  } else if (a == 'zhCHS') {
    Locale.use(a, zhLocale)
  } else if (a == 'de') {
    Locale.use(a, deLoacl)
  }
}
